package p1;

/**
 * @author krystal
 * @date 2022/11/9 13:57
 */
public class Demo1 {
    public static void main(String[] args) {
        int a = 10;  //定义整型变量a
        double b = 3.14;
        char c = 'A';
        boolean d = true;

        System.out.println(a);
        System.out.println(b);
        System.out.println(c);
        System.out.println(d);

        //在一行可以定义多个相同类型的变量
        int a1 = 12,a2 = 4,a3 = 99;
        System.out.println(a1);
        System.out.println(a2);
        System.out.println(a3);
    }
}
